<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!--#include file="includes/common.aspx"-->
<!--#include file="includes/includeitems.aspx"-->
<script  runat="server">
Dim errors="",msg="",continue=""
Sub Page_Load(ByVal sender As Object, _
	ByVal e As EventArgs)	
	errors=request.querystring("errors")	
	if (errors="old") then
	   msg="<font color=red>Wrong Password or Invalid Email," 
	   msg +=  "<br>Please enter your own username "
	   msg += " and password. </font>"
	elseif (errors="new") then
	   msg="<font color=red>This Email existing," 
	   msg +=  "<br>Please enter your own username "
	   msg +=  " and password. </font>"
	end if

	continue="id="&request.querystring("id")
	continue += "&rows="&request.querystring("rows")
	continue += "&pages="&request.querystring("pages")
	continue += "&page="&request.querystring("page")
	continue += "&sort="&request.querystring("sort")
	continue += "&from_="&request.querystring("from_")
      if session("shoppingcarts")="" then
	response.redirect("expiry.aspx?" & continue)
     else
	session("shoppingcarts")=session("shoppingcarts")
	session("shoppingcart")=session("shoppingcart")
	session("custinfo")=session("custinfo")
    End if
End Sub
</script>

<HTML><HEAD><TITLE>InterShop-Online Shopping</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=""  name=description>
<META content="trading software platform" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
        	self.defaultStatus = "Online-Shopping!";                           
</SCRIPT>
<script language=javascript src="js/common.js"></script>
<script language=javascript>
function checkinput()
{
	if(frmOrder.txtemail.value==""|| ! isEmail(frmOrder.txtemail.value))
	{
		alert("Please enter your email address.");
		frmOrder.txtemail.focus();	
		return false;
	}
	if(document.frmOrder.rdcusttype[1].checked==true)
		document.frmOrder.action="orders.aspx?<%=continue%>";
	else
		document.frmOrder.action="registry.aspx?<%=continue%>";	
	return true;
}

</script>
</HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0  rightMargin=0 marginheight="0"  marginwidth="0">
<!--#include file="top.aspx"-->
<TABLE cellSpacing=0 cellPadding=0 border=0  width="775" >
  <TBODY> 
  <TR>
    <TD vAlign=top align="center" width="160"> 
      <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#EEEECC"> 
                              <table cellspacing=0 cellpadding=0 border=0  width="100%">
                                <tr> 
                                  <td colspan=2>&nbsp;</td>
                                </tr>
                                <tbody> 
                                <tr  align="left"> 
                                  <td colspan=2> 
                                    <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword class=textbox>
                                  </td>
                                </tr>
                                <tr> 
                                  <td align=left> 
                                    <select name="cbCate">
                                      <option selected>All Products</option>
                                      <option>Books</option>
                                      <option>Poems</option>
                                    </select>
                                    <img height=21 
            alt="Click here to search the Item." 
            src="images/go.gif" 
            width=21 align=absMiddle 
      border=0></td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
	  <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% > 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" bgcolor="#CAE2F0"> 
                              <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword2 class=textbox>
                              <img height=21 
            alt="Click here to search the Item." 
            src="images/go-button.gif" 
            width=21 align=absMiddle 
      border=0> <br>
                              <img src="images/powered-by-google.gif" width="95" height="14"> 
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
       <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/browse-items.gif" width="155" height="19"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#CAE2F0">
							 <!--#include file="includes/listsubcategories.htm"-->
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
      <!--#include file="left.aspx"-->
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=text_normal id=mainContent vAlign=top width="420"> 
      <TABLE cellSpacing=4 cellPadding=4 width="100%" align=left border=0 height="61">
        <TR> 
          <TD vAlign=top align=left height="46"> 
            <!--#include file="submenu.aspx"-->
	<br><img src="images/customertype.gif">
             </TD>
        </TR>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=left>
	<b>Ordering from InterShop.com is quick and easy</b>
                  <form  method="post" name="frmOrder" onSubmit="return checkinput();">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                      <tr> 
                        <td align="middle" valign="top" > 
                          <table width="100%" border="0" cellspacing="1" cellpadding="1">
                            <tr> 
                              <td  valign="top"> 
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td colspan=2><font face="Arial">
                                      <%=msg%>
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="19%"><font face="Arial">Email address</font></td>
                                    <td width="81%"> <font face="Arial"> 
                                      <input name="txtemail" type="text"   class=textbox size="30" maxlength="50" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="19%"><font face="Arial">&nbsp;</font></td>
                                    <td width="81%"> <font face="Arial"> 
                                      <input name="rdcusttype" type="radio" value="new" checked>
                                       I am a new customer. <br>(You'll create a password later.) <br>
		           Tôi là khách hàng mới. (Bạn sẽ tạo mật khẩu trong khi đăng ký)</font><br><br></td>
                                  </tr>
                                  <tr> 
                                    <td width="19%"><font face="Arial">&nbsp;</font></td>
                                    <td width="81%"> <font face="Arial"> 
                                      <input type="radio" name="rdcusttype" value="old">
                                      I am a returning customer, and my password is: <br>
			Tôi là khách hàng thường xuyên.
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="19%"><font face="Arial">Password</font></td>
                                    <td width="81%"> <font face="Arial"> 
                                      <input name="txtpwd" type="password" id="txtpwd"  class=textbox size="30" maxlength="10" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="19%"><font face="Arial">&nbsp;</font></td>
                                    <td width="81%"> <font face="Arial"><br>
                                      <input type="submit" name="Submit" value="Sign in" class=button>
                                      <input type=hidden name="chkids" value="<?=$chkids?>">
                                      <input type="reset" name="Reset" value="Cancel" class=button>
                                      </font></td>
                                  </tr>
		     <tr> 
                                    <td colspan=2><br><hr><br>
			Forgot your password? <a href="#">Click here</a> <br><br>
			<hr><br>
			We guarantee that every transaction you make at InterShop.com will be safe. This means you pay nothing if unauthorized charges are made to your credit card as a result of shopping at InterShop.com. Certain third-party orders are excluded.
		        </td>
                                  </tr>	
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </form>
	</TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=margin valign="top" align="left" width="160"> 
      <TABLE>               
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-cart.htm" -->
          </td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-next.htm" -->
          </td>
        </tr>
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>
  <!--#include file="bottom.aspx"-->
</BODY></HTML>
